<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Laravel\Passport\HasApiTokens;

/**
 * Class ExhibitorUser
 *
 * @property int $id
 * @property Carbon|null $created_at
 * @property Carbon|null $updated_at
 * @property string|null $deleted_at
 * @property int|null $status
 * @property string|null $phone
 * @property string|null $password
 * @property string|null $address
 * @property string|null $remark
 * @property string|null $en_name
 * @property string|null $pwd
 * @property string|null $appellation
 * @property string|null $wx
 * @property string|null $telephone
 * @property string|null $e_mail
 * @property string|null $contacts
 * @property string|null $post_code
 *
 * @package App\Models
 */
class ExhibitorUser extends Authenticatable
{
    use SoftDeletes, HasApiTokens;

    protected $table = 'exhibitor_user';

    protected $casts = [
        'status' => 'int'
    ];

    protected $hidden = [
        'password'
    ];

    protected $fillable = [
        'status',
        'phone',
        'password',
        'address',
        'remark',
        'en_name',
        'pwd',
        'appellation',
        'wx',
        'telephone',
        'e_mail',
        'contacts',
        'post_code'
    ];
}
